package com.itheima.service.impl;

import com.itheima.dao.UserDao;
import com.itheima.service.UserService;
import com.itheima.factory.BeanFactory;

public class UserServiceImpl implements UserService {
    private UserDao userDao = (UserDao) BeanFactory.getBean("UserDao");
    public void save() {
        System.out.println("UserService save......");

        userDao.save();
    }
}
